package com.example.java_chatroom.mapper;

import com.example.java_chatroom.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserInfoMapper {

    //insert->注册
    Integer insertUser(UserInfo userInfo);

    //根据用户名登录
    UserInfo selectByName(String username);

}
